import { OrderState } from '../../objects/internal/OrderState';
import { MapPoint } from './City';

export interface Order {
	_id: string;
	bikeId: string;
	username: string;
	phone: string;
	mileage: number;
	duration: number;
	state: OrderState;
	startTime: Date;
	subtotal: number;
	total: number;
	startPosition: MapPoint;
	currentPosition: MapPoint;
}
